home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 June / PersonalComputerWorld-June2009-CoverdiscCD.iso / Software / Freeware / Adobe AIR 1.5.1 / AdobeAIRInstaller.exe / setup.swf / scripts / mx / events / ChildExistenceChangedEvent.as next >
Encoding:
Text File  |  2009-02-12  |  980 b   |  34 lines

  1. package mx.events
  2. {
  3.    import flash.display.DisplayObject;
  4.    import flash.events.Event;
  5.    import mx.core.mx_internal;
  6.    
  7.    use namespace mx_internal;
  8.    
  9.    public class ChildExistenceChangedEvent extends Event
  10.    {
  11.       mx_internal static const VERSION:String = "3.0.0.0";
  12.       
  13.       public static const CHILD_ADD:String = "childAdd";
  14.       
  15.       public static const CHILD_REMOVE:String = "childRemove";
  16.       
  17.       public static const OVERLAY_CREATED:String = "overlayCreated";
  18.       
  19.       public var relatedObject:DisplayObject;
  20.       
  21.       public function ChildExistenceChangedEvent(param1:String, param2:Boolean = false, param3:Boolean = false, param4:DisplayObject = null)
  22.       {
  23.          super(param1,param2,param3);
  24.          this.relatedObject = param4;
  25.       }
  26.       
  27.       override public function clone() : Event
  28.       {
  29.          return new ChildExistenceChangedEvent(type,bubbles,cancelable,relatedObject);
  30.       }
  31.    }
  32. }
  33.  
  34.